<template lang="">
    <div class="lloogg">
        <div class="body">
        <div class="log-reg">
            <img src="@/assets/img/716571.png"  alt="">
            <div class="login">
                <div style="display:flex ;">
                    <h2 id="log">登录</h2>
                    <h2>/</h2>
                    <h2 id="reg">注册</h2>
                    </div>
                <form action="">
                    <div class="input none" id="email"  placeholder="email"><input disabled type="text" /></div>
                    <div class="input" placeholder="username"><input type="text" ></div>
                    <div class="input" placeholder="password"><input type="password" ></div>
                    <div class="input none" id="repeat" placeholder="repeat"><input disabled type="password" ></div>
                </form>
                <button>登录</button>
            </div>
        </div>
        </div>
    </div>
</template>
<script>
    // import {loadJS} from '@/utils/wmtools'
   

export default {
    name:'Login',
    mounted() {
        this.$nextTick(()=>{
        let s=document.createElement('script')
        s.type='text/javascript'
        // s.className="mark"
        s.src=`/js/log-reg.js`
        document.querySelector('.lloogg').appendChild(s)
        })
  
              
    },
    // beforeDestroy() {
    //     let s=document.querySelector('')
    //     console.log(s);
    //     s.parent.removeChild(s)
    // },
    // mounted() {

    // },
}
</script>
<style>
</style>